﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using KickerTournament.BL;
using KickerTournament.BL.MonsterDYP;

namespace KickerTournament
{
    /// <summary>
    /// Interaktionslogik für MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();

            Player ak = new Player("ak");
            Player mm = new Player("mm");
            Player sp = new Player("sp");
            Player sb = new Player("sb");
            List<Player> players = new List<Player>(new Player[] {ak, mm, sp, sb});
            List<Team> teams = new List<Team>();

            ITourney monsterDypTour = new MonsterDypTourney();

            // Button new tourney
            monsterDypTour.startNew(players, teams);

            // Button new Round (available, after all matches are finished)
            monsterDypTour.startNextRound();

        }
    }
}
